Re: Re: Bug #952 Updated: calendar.so will not load.
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Re: Bug #952 Updated: calendar.so will not load. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2595@lists.php.net to get a copy of this message | ||
> To build calendar.so I went to the dl dirctory in the php source. Then typed setup. I was
> prompted with the above
> mesage. I managed to build calendar.so successfully. But I followed the directions and I always
> get the error
> below. I amusing the statement dl("/www/php-3.0.5/dl/calendar.so"); to load the
> module. I am not using the php.ini
> file.
>
> Fatal error: Unable to load dynamic library './/www/php-3.0.5/dl/calendar.so'-
> .//www/php-3.0.5/dl/calendar.so: cannot open shared object file: No such file or directory in
> /www/share/apache/htdocs/addEventNxt.phtml on line 5
Edit your php3.ini file and find the extension_dir line. Set it to:
extension_dir=/www/php-3.0.5/dl
Then in your code (after restarting your web server) use:
dl("calendar.so");
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net