Well what I have run into earlyer is that I need to compile apache2 too in order to make the php a php-module.
I am really not that skilled in compiling php :(
I am running SLES9, so compiling php is really not fun ;) ... I am not really best at compiling.
But I have a viritual server on the same machine, so if I had some way of copying the os to the other viritual machine I could do a test upgrade on that one.
Do you know of a way of getting the...
This is what I get when running the session_enabled file from ssh.
box1:/www/demo.siteman.no # php sleipnir.php
Fatal error: Call to undefined function: session_start() in /www/demo.siteman.no/sleipnir.php on line 4
The techs working on my server yesterday swapped a .so file to upgrade the...
I am running PHP 4.3.4
Your example here: http://demo.siteman.no/sleipnir.php
Your example withouth session_start: http://demo.siteman.no/sleipnir_nosess.php
I tried running phpinfo(); and it just loads and loads.
http://demo.siteman.no/phpinfo.php
When running the phpinfo.php from ssh with...
Whenever I start a session before I call file_get_contents PHP crashes. It is not able to connect to any other site.
I am not able to use fsockopen to connect to my smtp either.
Using fsockopen to connect to smtp gives me:
Warning: fsockopen(): unable to connect to localhost:25
When running...
I am having problems connecting to ports from my php code.
This has worked for a couple of years.
I am on my own server, and have root ssh access.
I can telnet to my localhost 25 with no problem from ssh.
--
box1:~ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape...
I tried setting the limit in the kernel setting to 2048 files.
This looks like it had no effect.
As far as I read from this the current setting is 2048, and still the messages log says it has a rlimit of 1024. Is this setting somewhere else?
box1:/www/webmail # ulimit -a
core file size...
Good idea...
I grabbed a new pid from the messages log and got this:
ftpuser 22963 0.2 0.6 108600 21056 ? S 22:57 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
(My Apache runs as ftpuser)
The error "open files rlimit 1024 reached for uid 1001 pid 6070" is posted to my /var/log/messages every few seconds.
I am guessing it it apache since apache is running as UID 1001.
I am having problems opening awstats reports, and creating images with ImageMagick.
I am running about 200...
There is something weird going on here now...
The browser gets disconnected before the page is rendered complete. All scripts are run, but the it complaines about being cut off(not sure what the errormessage is in english since I have norwegian text)...
Thanx, this solved that problem, I still had problems with the function not being defined. I guess when adding script to head at runtime, the onloadmethod does not wait for it.
Anyway, if you do not have any other suggestion I will load the script in all pages created by the CMS, since its so...
Ok, the script gets loaded, but now it complaines about "container has no properties" (FireFox JavaScript-console message)
It's in jsflash.js:
Inside writeNewDivWithContent
var jsflash_is_loaded = true;
function writeNewDivWithContent(id,text){
newid = CreateContainer(id);
var container =...
There you go ;)
I am a newbie to javascript, so I did not think of it. I primearly work in PHP.
It is possible to append multiple onloadcalls inside the <body>?
The reason I ask is that I may need to call the function multiple times for one page. and not in the same place in the html.
My script failes to execute all lines of code sporadic.
My situation:
I am trying to develop an dynamic solution to microsofts new update to IE6, where all flash objects will need activation to remove an border. I develop an CMS solution so the script needs to be as dynamic as possible.
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.