Ubuntu :: Etc/php5/cli/php.ini - Will Not Display Errors
May 6, 2011etc/php5/cli/php.ini and in the apache2 folder
View 1 Repliesetc/php5/cli/php.ini and in the apache2 folder
View 1 RepliesI have a personal apache server with php5 module in it that I have set to host user directories Host/~username. When I introduce any errors to the php file, such as echo "Syntax error; , I get a blank white screen. The error exists in the apache log file in /var/log.
I have found the php.ini file in and found every occurance of "error" in it and set it to "On" or E_ALL depending on what the argument wants. I still get a white screen.
yum install httpd php mysql-server php-mysql
[url]
Not working
I have an ubuntu 8.04 server running a couple of web sites using virtual hosts , apache2, mysql and php. I have noticed that by default php sessions are created in /var/lib/php5 and all stored in plain text.
I have quickly created a php script in a separate virtual host to list and display all contents in /var/lib/php5 , and it seems incredibly easy to see what details the other accounts are storing in sessions.
I'd like to use PHP5.2x instead of PHP5.3x on my Ubuntu 10.04. There is a small bug in Drupal where tweaking Views causes an error which seems to be associated with php5.3.
So, how would I regress to using 5.2x on Ubuntu?
I've installed developer's LAMP server and made changes on php.ini
But it doesn't display any errors or even a little warning, what's the problem, what's wrong?
I made an ubuntu live usb with a 2gb persistent casper rw using pendrive linux's portable installer. this works fine on most computers, but on my laptop, it boots just fine, but the screen is divided with little lines and overlaps slightly on the righr into the left(pic included). the laptop in question is an hp pavillion dv2000 special edition.
View 2 Replies View RelatedI'm disappointed because I installed jdeveloper 11114 , I mean the .bin file, whoch I ran successfully, but when I launch jdeveloper there is a redraw bug, the toolbar is not displayed successfully, and the components of the menu and of the toolbar appear and disappear when I hover it with the mouse.
any idea which would allow me to use this tool?
with slackware 13.0 for one user xfce4 hangs and doesn't start..xsession.errors claim it can't open display. It works fine for other users. Also if I access the machine in question as the same user but remotely using remote X (X-terminal on my LAN) it works fine.Sometimes if I wait and count to 30 it comes up but a lot of the features don't work.During the last week have posted this question on the compuserve linux forum and also in the xfce site forum with no solutions.seems there must be something in that user's directory which is hanging it up. I keep the same /home/users directory on a separate partition so when I upgrade for new versions of slackware the /home/users remain the same - I symlink home to that partition so upgrades are somewhat seemless.
View 3 Replies View RelatedI',m executing ping, but it didn't work, in order to find the mistake in my network I would like to know how to see the errors:
Code:
18 packets transmitted, 0 received, +12 errors, 100% packet loss, time 17038ms, pipe 4 I want to see this +12 errors. Could I do that?
I am running Valgrind on my program. It shows me two errors but mentions only addresses against them and not actual code even on a debug build.
The output is
==23002== Memcheck, a memory error detector.
==23002== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==23002== Using LibVEX rev 1575, a library for dynamic binary translation.
[code]....
I can't seem php5 work with apache2. I am getting the text openning instead of php. I think this is infamous problem, found many suggestions adding AddType application/x-httpd-php .php, did that in/etc/apache2/apache2. conf and /etc/apache2/httpd.confwith no luck, it's still opening text
View 6 Replies View RelatedOk so I have:
a)apt-get install apache2
b)apt-get install php5
c)placed a php test file into my var/www folder
d)go to 127.0.0.1 in my browser and all I see is a blank page, when I should see the php info page.
So what the heck is wrong here? I figure it's just something I'm too noob to know, yet I can't find anything about it on the net...
I have a ubuntu10.04 server 64bit, my application can under run under php5.2.x. So there anyway i can install the php5.2.x in ubutnu 10.04 without the need to source compile?
View 1 Replies View RelatedI have just installed ubuntu Server with Apache2, PHP5, MySQL and PhpMyAdmin.
Everything works fine when I access the server on the LAN. I have forwarded port 80 in my router to the LAN ip of this server. (I have other windows based web servers so I am familiar with port forwarding) however when I try to access the server from the true static IP outside the LAN I cannot reach it and the connection just times out with the Ubuntu server connected if I use canyouseeme it says port 80 is closed. If I replace the Ubuntu server with another server I can reach this just fine from outside and canyouseeme says the port is open. So I am pretty darn sure the router is correct and that there is some config problem with the Ubuntu box, but I cannot find it. the ports.conf file has listen 80 in it and the apache2.conf includes the ports.conf file.
I have installed LAMP on ubuntu server 10.04. where can i find the installation folder...the extension folder and so on ? i tried the command locate php but it didnt return the path i wanted.
View 2 Replies View RelatedI already have php5 installed but when I try to install php5-curl to use magento I get this message,The following packages have unmet dependencies: php5-curl : Depends: php5-common (= 5.3.3-1ubuntu9) but 5.3.3-1ubuntu9.1 is to be installed E: Broken packages. Is there anyway around this? I'm using Ubuntu 10.10 desktop.
View 2 Replies View RelatedI'm doing some light web development, I installed php5 and apache on my laptop and read that when running apache your computer is technically a server and is thus vulnerable to computer wankery. I'm looking for advice on whether or not I should install a firewall or if I don't really need it. The work I'm doing is not a professional website, just a place for some experiments. All the info I found on the web was targeted to professional web-developers, not so much for amateurs like myself. What do you think?
View 6 Replies View RelatedI decided to upgrade from 10.04 to 10.10 and now upgrade manager is just sitting there saying "About 1 minute remaing" with "Setting up libapache-mod-php5 (5.3.3-1ubuntu9.1) ..." in the terminal.
There is not disk or processor activity.
When try to do a database query with php5 and mysql. I encounter this error:
Code:
Fatal error: Call to undefined function mysqli()
while phpinfo() says mysqli support is enabled? What's wrong in this picture?
i have installed php5.apt-get install php5 installed fine but when i got to a php program its looks for it in
line 90: /usr/bin/php: No such file or directory
whereis:
~# whereis php5
php5: /usr/bin/php5 /etc/php5 /usr/lib/php5 /usr/share/php5
iv added a symlink to bin as u can see above but thats no good as the php is looking for it in /usr/bin/php how can i get /usr/bin/php. drag php5 folder in there and rename it?
I used to run Apache + PHP5 + MySQL + ImageMagick locally, as a testing server for a project I'm working on. A while ago I updated a few things, with the php5-imagick library not matching dependency version numbers anymore. I decided to ignore it, since there was no update for the library. I have been without an internet connection in the meantime, but php5-imagick didn't work anymore at all. It didn't return any errors, but it simply didn't modify anything about the pictures anymore. A few minutes ago I decided to manually uninstall and reinstall the php5-imagick package.Uninstalling went fine. But when I wanted to reinstall it, the package was nowhere to be found! A quick Google search turned up no relevant results.
View 5 Replies View RelatedI can't run apache2 with php5. I follow instructions from here: SDB:Linux Apache MySQL PHP - openSUSE but seems stuck at Confirming apache2 works. It did not. I noticed that everytime I restart this 'error' will come out :
[Mon Apr 04 10:40:30 2011] [warn] module rewrite_module is already loaded, skipping
[Mon Apr 04 10:40:30 2011] [warn] module rewrite_module is already loaded, skipping
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName Syntax OK Shutting down httpd2 (waiting for all children to terminate) done Starting httpd2 (prefork) [Mon Apr 04 10:40:32 2011] [warn] module rewrite_module is already loaded, skipping [Mon Apr 04 10:40:32 2011] [warn] module rewrite_module is already loaded, skipping httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Someone accidentally upgraded our PHP5 to 5.3.3. We've uninstalled it but what's the best way to install PHP5.2.14?
View 1 Replies View Relatedwant to upgrade php from 5.2 to 5.3 it can be possible with RPM and YUM but i want to know step by step how it can be upgraded using tar.gz file of PHP and from where i can download it.
View 1 Replies View Relatedmy server :
ubuntu jaunty 9.04 32bits
apache2 2.2.11-2ubuntu2.5
php5 5.2.6.dfsg.1-3ubuntu4.5
I have a problem uploading large files : from 0 to 1 048 576 000 octet (1000mega) : OK greater... KO... i mean even no file uploading temporaly in /tmp I have tried using "jyraphe" or "openupload" in the server part and from mozilla or IE in the client part.... always the same thing...
php.ini :
post_max_size = 5G
upload_max_filesize = 5G
I even set "LimitRequestBody 10000000000" in /etc/apache2/sites-available/default thinking the default value (not set OR 0) didnt work but...
I'm trying to run apache2 with mod_ssl and php support and I need curl too. When php5-curl is installed apache doesn't work with ssl and I've got this one in error.log:
Code:
[Thu Jun 03 10:00:39 2010] [notice] child pid 26013 exit signal Segmentation fault (11)
[Thu Jun 03 10:00:39 2010] [notice] child pid 26014 exit signal Segmentation fault (11)
It's strange because it works well without ssl. The problem occures only when I'm trying to access and SSl page, doesn't matter if it's a html page or php file. I'm using Ubuntu 10.06 Desktop version which is x64. Below are the packages which I've got installed related to apache php and curl. I successfully compiled php5 from source, but the problem still exists so probably it's somewhere in apache?
currently I am using Ubuntu 10.04.I want to install mysql, php5 and apache2 server in my machine. I have tried this- aptitude install mysql-server mysql-client
But the outcome is
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
[Code]...
I am running Ubuntu 10.04LTS on a server. I am trying to make an e-mail contact form. When I hit submit, it says the message was sent. I check my e-mail and I don't see it. Does it not work with gmail? or do I need to use a system username@mydomain.net? This is the PHP mailer.
Code:
<?php
if(isset($_POST['submit'])) {
$to = "myemail@mydomain"; #This is set to my gmail.com e-mail.
$subject = "Unserv Form";
$name_field = $_POST['name'];
$email_field = $_POST['email'];
$message = $_POST['message'];
$body = "From: $name_field
E-Mail: $email_field
Message:
$message";
echo "Message was sent!";
mail($to, $subject, $body);
} else {
echo "Error, it did not work! Please mention this to admin@unserv.net!";
} ?>
This is a snip of HTML from the contact site:
Code:
<form method="POST" action="sndmsg.php">
Name: <input type="text" name="name" size="19"><br>
<br>
E-Mail: <input type="text" name="email" size="19"><br>
<br>
Message:<br><textarea rows="20" name="message" cols="50">
I've recently setup LAMP on my VPS.I believe I may have broken the PHP configuration somehow, not 100% sure exactly how, but I'm getting internal server errors upon loading .php files.
*Edit* phpmyadmin still runs fine so maybe there's an error in my Apache configuration or my VirtualHosts?