Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Only the session_id function is not functioning? That seems weird for only one function to stop working.
What are you hoping to extend about PHP? Functionality or knowledge? Perhapd phpinfo() can provide you with some interesting information. More information is always nice, solving a problem on the bare minimum of supplied information is quite difficult.
session_id is a built in function, I don't believe it is part of any library that can go missing. It isn't a module, if that is what you are asking. It comes by default with PHP4 and PHP5.
Did you try a simple program to test session_id()?
Isolating the function instead of running it in a large application and having an error. Perhaps it wasn't called properly or wasn't set with session_start(). I'm not an expert but I don't think built-in functions can go missing.
I have tired EVERYTING... even Yast/You uninstalling apache, php and all, reinstalling it. Downloading the sources and compiling my own... can't get anything to work.
My phpinfo() lists:
--disable-session.
under Configure Command
HOW and WHERE do I change these switches?
php-config man page is most unhelpful.
Do I have to recompile the whole stupid php4 with all its 12 patches installed for SuSe?
I've even tried the php4-session and php4_mod whatever for Apache and everything SRC rpms but cant find where it tries to install these things. Looking in the rpms doesnt say!
I feel so useless!!! HELP!
I am thinking it must be something TINY and SIMPLE if asterisk could screw it up with one tiny command. I even went through all the asterisk scripts to see what it destroyed and replaced those files, but alas. My brain is throbbing with !@)(#)!(@_
Last edited by tunasashimi; 10-03-2005 at 04:51 PM.
Trillions of errors compiling php. Maybe appying the diff patches will work... maybe not.
Who cares?! Long story short. DONT INSTALL ANYTHING ON SUSE THAT DOESNT COME THROUGH YAST. PERIOD.
from /usr/local/apache2/include/apr_buckets.h:29,
from /usr/local/apache2/include/util_filter.h:21,
from /usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c
/usr/local/apache2/include/apr_file_io.h:548: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_file_io.h:740: error: parse error before "apr_off_t"
In file included from /usr/local/apache2/include/apr_buckets.h:29,
from /usr/local/apache2/include/util_filter.h:21,
from /usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c
/usr/local/apache2/include/apr_network_io.h:545: error: parse error before "apr_off_t"
In file included from /usr/local/apache2/include/apr_buckets.h:32,
from /usr/local/apache2/include/util_filter.h:21,
from /usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c
/usr/local/apache2/include/apr_mmap.h:134: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_mmap.h:161: error: parse error before "apr_off_t"
In file included from /usr/local/apache2/include/util_filter.h:21,
from /usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c
/usr/local/apache2/include/apr_buckets.h:242: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:242: warning: no semicolon at end of struct or unio
/usr/local/apache2/include/apr_buckets.h:244: error: conflicting types for `data'
/usr/src/packages/SOURCES/php-4.3.4/main/php.h:255: error: previous declaration of `data'
/usr/local/apache2/include/apr_buckets.h:252: error: `free' redeclared as different kind of
/usr/include/stdlib.h:569: error: previous declaration of `free'
/usr/local/apache2/include/apr_buckets.h:255: error: parse error before '}' token
/usr/local/apache2/include/apr_buckets.h:634: error: field `b' has incomplete type
/usr/local/apache2/include/apr_buckets.h:702: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:714: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:750: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:886: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:1164: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:1363: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:1377: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:1427: error: parse error before "apr_off_t"
/usr/local/apache2/include/apr_buckets.h:1443: error: parse error before "apr_off_t"
In file included from /usr/local/apache2/include/util_filter.h:23,
from /usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c
/usr/local/apache2/include/httpd.h:788: error: parse error before "apr_off_t"
/usr/local/apache2/include/httpd.h:788: warning: no semicolon at end of struct or union
/usr/local/apache2/include/httpd.h:790: warning: data definition has no type or storage clas
/usr/local/apache2/include/httpd.h:801: error: parse error before "clength"
/usr/local/apache2/include/httpd.h:801: warning: data definition has no type or storage clas
/usr/local/apache2/include/httpd.h:804: error: parse error before "remaining"
/usr/local/apache2/include/httpd.h:804: warning: data definition has no type or storage clas
/usr/local/apache2/include/httpd.h:806: error: parse error before "read_length"
/usr/local/apache2/include/httpd.h:806: warning: data definition has no type or storage clas
/usr/local/apache2/include/httpd.h:937: error: parse error before '}' token
In file included from /usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c
/usr/local/apache2/include/util_filter.h:141: error: parse error before "apr_off_t"
/usr/local/apache2/include/util_filter.h:296: error: parse error before "apr_off_t"
In file included from /usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c
/usr/local/apache2/include/http_core.h:205: error: parse error before "ap_get_limit_req_body
/usr/local/apache2/include/http_core.h:205: warning: data definition has no type or storage
/usr/local/apache2/include/http_core.h:264: error: `ap_auth_type' redeclared as different ki
/usr/local/apache2/include/httpd.h:860: error: previous declaration of `ap_auth_type'
/usr/local/apache2/include/http_core.h:644: error: parse error before "apr_off_t"
In file included from /usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c
/usr/local/apache2/include/http_protocol.h:109: error: parse error before "apr_off_t"
/usr/local/apache2/include/http_protocol.h:209: error: parse error before "apr_off_t"
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:84: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:85: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:85: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:87: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:87: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:87: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:87: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:87: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:87: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:89: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:89: error: dereferenc
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:120: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:123: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:125: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:138: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:161: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:180: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:181: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:182: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:188: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:189: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:190: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:193: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:194: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:205: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:217: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:226: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:235: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:264: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:268: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:269: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:269: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:269: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:269: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:269: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:269: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:270: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:270: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c: In function `php_apa
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:419: error: dereferen
/usr/src/packages/SOURCES/php-4.3.4/sapi/apache2handler/sapi_apache2.c:419: error: dereferen
/usr/src/packages/SOURCES/php-
I've compiled the suse srpm php4 without all it's diffs and had to manually move the libphp4.so to /usr/lib/apache2 since "make install" cried like a baby. Also had to delete libphp4.so from 3 other places... finally it works. Now just to get all in php that needs to be there - mysql, ssl, etc...
SO, it works. But what a headache.
If someone gives me ONE command to fix it here, I'll cry.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.