Re: [PHP-DEV] Re: Bug #952 Updated: calendar.so will not load. From: Rasmus Lerdorf (rasmus <email protected>)
Date: 11/25/98

> 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 <email protected>
For help: php-dev-help <email protected>