[csw-users] php5 now in testing

Mike Watters mwatters at opencsw.org
Thu May 7 00:01:44 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Scott,
Scott Lundgren wrote:
> The path for extensions in php.ini is not correct I believe. The
> following extensions are not showing up in phpinfo on restart of apache2:
> 
> root at wssun1 # pkg-get -c php5
> # (From site http://ibiblio.org/pub/packages/solaris/opencsw/current )
>        software                        localrev                     
> remoterev
>            php5           
> 5.2.9,REV=2009.04.29                           SAME
> root at wssun1 # grep extensions /opt/csw/php5/lib/php.ini
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "/opt/csw/php5/lib/php/extensions/."
> ; Note that many DLL files are located in the extensions/ (PHP 4) ext/
> (PHP 5)
> root at wssun1 # ls -lh
> /opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613/
> total 1426
> -rwxr-xr-x   1 root     bin          89K Apr 23 21:05 curl.so
> -rwxr-xr-x   1 root     bin         156K Apr 23 21:05 gd.so
> -rwxr-xr-x   1 root     bin          59K Apr 23 21:05 ldap.so
> -rwxr-xr-x   1 root     bin          50K Apr 23 21:05 mcrypt.so
> -rwxr-xr-x   1 root     bin         116K Apr 23 21:05 openssl.so
> -rwxr-xr-x   1 root     bin         112K Apr 23 21:05 session.so
> -rwxr-xr-x   1 root     bin          44K Apr 23 21:05 wddx.so
> -rwxr-xr-x   1 root     bin          52K Apr 23 21:05 xsl.so
> 
> Scott Lundgren
> ITS - Web Services
> http://www.uncc.edu/

you are correct that the line in your php.ini file is incorrect.
However, I can not seem to re-produce this error with the 04.29 revision, or
with the 05.05 revision...  there will be a new revision in the next couple of
days as I ran into a problem where php-cgi was not getting generated at compile
time, so not being included in the packages.  I resolved this and am in the
process of re-packaging it.  just the CSWphp5 package.

Can you check the /opt/csw/php5/lib/php.ini.CSW file and see what
that file has for extension_dir?  that is the file we generate and ship
with the package.  we only copy it into place if there is not an existing copy
of php.ini.

- --

Thanks,
Mike

"Any intelligent fool can make things bigger, more complex,
and more violent.  It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."

* Albert Einstein 1879 - 1955
    US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoCCMgACgkQLrhmsXMSLxdmvQCdFIP+ROeGoxMQguvi7/WsKSK2
fbsAniXKM0vngvo4g0X9LeIIqH3nG+yB
=70y4
-----END PGP SIGNATURE-----



More information about the users mailing list