Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2015 20:00:58 +0100
From:      "Gary J. Hayers" <gary@hayers.org>
To:        Nancy Belle <belle@antennex.com>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD 9.2 platform plus php5-5.4 plus Apache24 - need a rescue
Message-ID:  <5537EFEA.8030402@hayers.org>
In-Reply-To: <DM__150422120215_17485523238@mail.antennex.com>
References:  <DM__150422120215_17485523238@mail.antennex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms020403080804050406060209
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

Have you installed www/mod_php5 as well?

On 22/04/2015 18:34, Nancy Belle wrote:
> Hi freebsd-questions
>
> Before writing this, we have worked on several attempts for an install =
of php5-5.4 and apache24 for the past couple of weeks and no joy! Have se=
arched google several times were one usually finds an answer.
>
> We can install all of the usual modules we had for php5-5.4 under apach=
e22 with apache24 but the php5 won't load them because it's want to stubb=
ornly load from the wrong location like the following which contained non=
e of the modules even tho we disabled ZTS. Time after time we tried with =
same results. Thus, we decided to enable ZTS and we got the directories b=
elow with the modules within as shown. However, it stuck out its tongue o=
n apache loadup and said none of the mods were "registered."
>
> The usual php/apache location for the mods is :
> /usr/local/libexec/apache24/mod_xxx.so and not the
> "/usr/local/lib/php/20100525-zts/mod_xxx.so."
>
> I believe we also saw a warning about use of a threaded apache which I =
understood is not used by default.
>
> We have been using FBSD for 18 years and never any problem let alonbe a=
 mysterious one like this! I say mysterious because we don't know how to =
fix this and time is of the essence because we must move our servers to a=
nother location and they contain an old Freebsd-7.2 (ouch!) So, we are tr=
ying to get our servers here locally configured and then transfer the old=
 stuff to the new ones. This problem won't let us and we have a deadline =
creeping up.
>
> One suggestion we found said:
> Fixing ZTS In Brief :
> # kldload dtraceall
> # echo 'dtraceall_load=3D"YES"' >> /boot/loader.conf
> Reinstall lang/php5: #make install (or reinstall) clean
>
> Didn't do anything for us.
>
> Apache24 loads and can bring up php5-5.4.39 test page < ?php phpinfo();=
 ?> showing none of our desired modules.
>
> root% /home/sageame#locate zts
> /usr/local/lib/php/20100525-zts
> /usr/local/lib/php/20100525-zts/apc.so
> /usr/local/lib/php/20100525-zts/bz2.so
> /usr/local/lib/php/20100525-zts/calendar.so
> /usr/local/lib/php/20100525-zts/ctype.so
> /usr/local/lib/php/20100525-zts/curl.so
> /usr/local/lib/php/20100525-zts/dom.so
> /usr/local/lib/php/20100525-zts/filter.so
> /usr/local/lib/php/20100525-zts/ftp.so
> /usr/local/lib/php/20100525-zts/gd.so
> /usr/local/lib/php/20100525-zts/gettext.so
> /usr/local/lib/php/20100525-zts/hash.so
> /usr/local/lib/php/20100525-zts/iconv.so
> /usr/local/lib/php/20100525-zts/json.so
> /usr/local/lib/php/20100525-zts/mbstring.so
> /usr/local/lib/php/20100525-zts/mcrypt.so
> /usr/local/lib/php/20100525-zts/mysql.so
> /usr/local/lib/php/20100525-zts/mysqli.so
> /usr/local/lib/php/20100525-zts/openssl.so
> /usr/local/lib/php/20100525-zts/pdf.so
> /usr/local/lib/php/20100525-zts/pdo.so
> /usr/local/lib/php/20100525-zts/pdo_sqlite.so
> /usr/local/lib/php/20100525-zts/phar.so
> /usr/local/lib/php/20100525-zts/posix.so
> /usr/local/lib/php/20100525-zts/session.so
> /usr/local/lib/php/20100525-zts/simplexml.so
> /usr/local/lib/php/20100525-zts/snmp.so
> /usr/local/lib/php/20100525-zts/soap.so
> /usr/local/lib/php/20100525-zts/sockets.so
> /usr/local/lib/php/20100525-zts/sqlite3.so
> /usr/local/lib/php/20100525-zts/tokenizer.so
> /usr/local/lib/php/20100525-zts/xml.so
> /usr/local/lib/php/20100525-zts/xmlreader.so
> /usr/local/lib/php/20100525-zts/xmlwriter.so
> /usr/local/lib/php/20100525-zts/zip.so
> /usr/local/lib/php/20100525-zts/zlib.so
>
> Surely someone else out there has run into a similar problem. If so, we=
 would be hugely appreciative!
>
> Thanks in advance!
>
> --
> All the best, :-)
> Nancy Belle, belle@antennex.com
> 4/22/2015
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd=
=2Eorg"
>

--=20

Regards,
Gary J. Hayers
gary@hayers.org

PGP Signature
http://www.hayers.org/pgp

"In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move."



--------------ms020403080804050406060209
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITFTCC
BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOr
lr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSM
zR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+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WUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIB
QDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpQYJKwYBBAGCNxAEMYGXMIGUMIGMMQswCQYD
VQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0
YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQcmlt
YXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwxYzTCBpwYLKoZIhvcNAQkQAgsxgZeggZQw
gYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1
cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFz
cyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDFjNMA0GCSqGSIb3DQEBAQUA
BIIBADOlNYglmA22PZhDAhWFgusCZPZRsTXTVi3Myogi1jA+lM2UNY/QZ/OTKA3Xwrv/zViJ
52fD7WOwta+V49tNMnJ5jZBL83940yGQSaDhCEObV7WguKMrU6cEpSfwjI5bEyRojx4jwPG0
Mj9FyM0hqg0wihF9WePcrnnGrzNw51E3EjLLvyb0AGfnf2QVAsDLysAZV8Nw0D5QJQIJ9rao
YtT6BZTs7ycXvxiWqWhXLB0XQA7ebOD2R8i6si8i98a3qzNWwMrHK9E1CFO9W6ySae2bwcYK
bveo6dz59zed2Oe0jLaUc8EVRtE6SNlAgKhmYo7t26jDKR3GexuwOdq3insAAAAAAAA=
--------------ms020403080804050406060209--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5537EFEA.8030402>