[Resolved] php 5.3.3 with curl not working
i try recomplier php become 5.3.3 and curl , i using compile php in admin section here my config :
'./configure' '--prefix=/usr/local/lsws/lsphp5' '--with-mysqli' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--enable-curl' '--enable-suhosin' '--with-litespeed'
i check curl not active also i have error notice
Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/local/lsws/DEFAULT/html/phpinfo.php on line
the warning is irrelative to curl. add
date.timezone="America/Los_Angeles" etc will eliminate the warning message.
there should be no problem for 5.3.3 with curl -- I just built it a few days ago.
please record the error message during php build.
here some log complie
Thank you for using PHP.
Notice: Following unknown configure options were used:
Check './configure --help' for available options
Libraries have been installed in:
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
- add LIBDIR to the `LD_RUN_PATH' environment variable
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
Don't forget to run 'make test'.
Installing Suhosin extension
Installing shared extensions: /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20090626/
chown -R lsadm:lsadm /usr/local/lsws/phpbuild/php-5.3.3/suhosin-0.9.32.1
Suhosin extension build complete
Wed Oct 6 20:04:55 PDT 2010
i check in my script php
* PHP version: 5.3.3
* cURL version: not available
Environment check failed
you can check direct my phpinfo in pojokdomain dot us/phpinfo.php
i using ubuntu 10 update online fresh
I try downgrade php bellow php 5.3.3 , not working same proble with autoconf 2.6
yes, the error message tell the cause:
no --enable-curl option, instead, it's --with-curl
same curl not active event using --enable-curl or --with-curl-dir=/usr/lib/libcurl.a
may be i try manualy complie without using litespeed compiler.
to be clear, must include
thanks now is working after 2 day
her my config
/configure' '--prefix=/usr/local/lsws/lsphp5' '--with-mysqli' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--enable-curl' '--with-curl' '--enable-suhosin' '--with-litespeed'
I reintalled again.
I think curl is missing. I am re-compiling php again with curl.
But in the meantime, the site takes very very long time to load.
Finally sometimes shows output without css and sometimes with proper design.
I am loading the site as site.com:2080
to troubleshoot long page loading, use firebug to get the loading breakdown of each resource of the page to see the bottleneck.
|All times are GMT -7. The time now is 12:21 PM.|