Bug 197932 - www/php55-session fails to load
Summary: www/php55-session fails to load
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 20:57 UTC by brad
Modified: 2015-02-24 17:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brad 2015-02-22 20:57:54 UTC
I have just performed a fresh FreeBSD install with LAMP and I have PhP55 requirements for using password_hash().
I am using the correct php.ini  https://bpaste.net/show/2c7e7acba91d  as indicated in phpinfo  https://bpaste.net/show/7769ad2c65f6 but PhP info does not reflect the loaded modules.
Loaded modules ->  https://bpaste.net/show/11782f6e7a63

error:

Fatal error: Call to undefined function session_start() in blah.php on line 2

code use to test:

<?php
session_start();
?>
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2015-02-23 14:04:47 UTC
Fix Summary and assign.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2015-02-23 15:02:16 UTC
I don't see any log where there is an error loading the session extension, I cannot help....what I see is that you built a threaded apache, that is not a default/recommended setup for php.
Comment 3 brad 2015-02-23 18:27:22 UTC
Because there are zero errors in the logs from modules. (apache24 restarts clean)
only a phpinfo that is bare of loaded sessions modules


/var/log/messages has nothing.
dmesg provides no data as well.

The problem acts just like wrong php.ini but as you can see, the phpinfo() php.ini and the one I cat'ed are the same file.

I have since upgraded to php56, getting past that error and now working on a separate issue.