Is it possible that you have to edit your php.ini to include the module?
---------------
I don't think that will do it. Everything I have seen says you have
to recompile PHP. Just for grins I tried what you suggested, i.e.
installed curl-devel and copied the libcurl.so file into the
etc/php/extensions directory, and added an ini file to load it
same way as mysql and others, but no luck. It didn't seem to
break anything, but cURL still doesn't show up in phpinfo().
The problem seems to be that when I rebuild PHP I get a
standalone version of PHP that works from the command line
but is not linked to apache. I can execute "php -i > info.html"
on the command line and the resulting phpinfo output shows
that cURL is installed, but running phpinfo() via a script on
apache shows cURL is not installed. Evidently the build
process is not creating the mod_php4.so file that is used
by apache, and I don't see how to do it. All the instructions
I can find online are either cryptic or inconsistent.
Phil Mattison wrote:
>Okay, I'm stumped. I started out installing Zen Cart on my
>PHP development server (MDK9.2). Zen Cart is a PHP app.
>
>Zen Cart wants lib-curl. The PHP installation under MDK9.2
>doesn't include CURL. The docs for lib-curl say you have
>to rebuild PHP with the config option --with-curl=<DIR>.
>So I install php-devel from the MDK CDROM set, and look
>in /usr/src/php-devel. There is no config file. So I go find
>php433 at php.net (the version that comes with MDK9.2),
>download and build:
>
>gunzip etc.etc.
>./config <etc etc etc> --with-curl=/usr
>make
>make install
>
>It all seems to work ok. (NOTE- I uninstalled php before staring.)
>Then I bring up the browser and run phpinfo(), and it still doesn't
>show CURL as an installed library. Apparently no change.
>
>What am I missing here?
>
>--Phil M.
--
Phil Mattison
Ohmikron Corp.
480-722-9595 ext 1
602-820-9452 mobile
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss