0
votes
0answers
3 views

sendmail doesn't work anymore

i've installed sendmail to send mails from php, but after some messing with some virtualhosts the mail(); function in php doesn't work any more. How can I get the mail(); function to work again? ...
0
votes
3answers
59 views

Php doesn't work on Apache server

I installed LAMP sudo tasksel install lamp-server I can run my site, but the php code is just displayed as text. I have tried this solution, but it didn't help me. When I try to run php script ...
1
vote
1answer
25 views

index.php is downloading instead of displaying

I have set a local website from following here, I have followed everything as it is but when I access my site via Mozilla Browser, it asks me where to download and save instead of displaying the ...
1
vote
0answers
21 views

Subdirectories Show 404 Not Found on 13.10 web server

I recently set up a web server on Ubuntu 13.10 and when I enter the external IP it works fine showing the index file of var/www/ but whenever I try to add a folder, say one called test, and I go to ...
0
votes
1answer
30 views

Website not running on Ubuntu after installing LAMP Stack

I did it... I moved to Ubuntu today for the first time. I've been loyal to Windows for quite a while, but here I am. Anyway, I'm not used to all the command line tools and I'm facing some trouble with ...
0
votes
0answers
14 views

Running OpenEMR on Microsoft Cloud

We want to run OpenEMR on the MS Cloud platform. We created a VM using Ubuntu. To run OpenEMR, MySQL and Apache or another PHP-capable webserver must be configured. OpenEMR requires a number of ...
0
votes
0answers
22 views

HelloWorld.php display 0 value after download and configure Apache2, PHP and MySQL

I have purchased the Lenovo ThinkPad R400 and currently, I am updating my Ubuntu's version. Before the update from 12.04 to the current version, I have installed Apache2 in my machine including MySQL ...
0
votes
0answers
42 views

Cannot run PHP codes through Netbeans after installing XAMPP

I installed XAMPP and Netbeans to start learning PHP. After I wrote this code <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> ...
-1
votes
0answers
35 views

phpmyadmin and ubuntu external database [closed]

I have a web server running apache and php5 and another server that runs my mysql. I've setup phpmyadmin on the apache server, and got it running... Took some doing, but I got it to create the ...
1
vote
0answers
21 views

How would I tell the last time Apache served a file?

I'm trying to figure out how to tell the last time a .php file was served by Apache. I have written an application on an Ubuntu Lamp stack with Mysql & PHP. I have 1000s of files and I'm trying ...
0
votes
2answers
82 views

owncloud -problem installing packages

I have just installed these packages for building my owncloud, but always get an installation aborted error: rqie@rqie-VirtualBox:~$ sudo apt-get install apache2 php5 php5-json php5-gd php5-sqlite ...
0
votes
2answers
91 views

Unable to start my apache

After I downgraded my php5.5 to php5.3.10, I no longer able to start my apache2. Here is what I get: sudo service apache2 start [sudo] password for fcasili: * Starting web server apache2 ...
1
vote
1answer
64 views

Apache restart after updating php pages

I have to restart apache every time i update a php file. It's not a client browser cache problem, I tried multiple browsers. The strange thing is I only need to do it with php files, html files ...
0
votes
1answer
89 views

How do I set up a Tor server?

I would like to host a tor hidden services website (aka .onion site) on my Ubuntu desktop with the LAMP stack installed. While the tor docs offer some guidance on running an anonymous server, the ...
0
votes
0answers
230 views

Ubuntu 13.10 install php-fpm with apache 2.4

I tried multiple tutorials on how to install php-fpm (cgi) with apache2. None of them worked with 13.10. I even installed ubuntu completly new after each one. This is one for example: How to configure ...
0
votes
1answer
115 views

Ubuntu 12.04 Apache 2 - Inline CSS working but external CSS not working

In installed apache2 for use as a development server. Created my site, and it loads correctly in my browser, except that... External CSS stylesheets don't load. Inline CSS works, and the style tag ...
0
votes
0answers
56 views

Should I install Apache & PHP separately OR uninstall MySQL from a LAMP stack?

I'm developing a site for my customers to view their account transaction history, with the ability to make payments through a hosted pay-page. Our legacy system requires keeping our database ...
0
votes
1answer
19 views

Laravel serves a phtml file

I tried running Laravel php framework from my own custom folder (not in '/var/www'). I've set up vhost, and permissions and it seems to work correctly, but Instead of seeing the laravel welcome page, ...
1
vote
0answers
73 views

Apache: New files and folders does not get correct permissions

This is what i'm working whit. Ubuntu Server 13.10 /w Kubuntu Desktop 3.11.0-17-generic Apache/2.4.6 (Ubuntu) PHP 5.5.3-1ubuntu2.1 (cli) Module SuPHP Enabled My issues: I can install Joomla, and ...
0
votes
0answers
44 views

Wired behaviour of PHP SOAP Webservice on Ubuntu and apache2

We got a SOAP Webservice written in PHP. We also got PHPUnit Tests for this Webservice. Till last week we used Xampp on Ubuntu 12.04.4. Using Xampp the Webservice worked fine. Then last week we ...
0
votes
1answer
55 views

HTML doesn't show php script on Uuntu 12.04 ( PHP5, Apache2, mysql) all are installed properly

But info.php in /var/www/ does show the info. Only PHP embedded in html doesn't show the script. please help me.. I have tried the previous askubuntu questions and didnot get anything useful so ...
1
vote
1answer
188 views

object not found in lampp ubuntu 13.10 [closed]

I am a newbie linux user. I have installed xampp 1.8.3-2(lampp) on Ubuntu 13.10 and configured it. I paste my www folder to Ubuntu 13.10 in /opt/lampp/htdocs. Now that the owner of www folder is ...
1
vote
1answer
28 views

Getting issue with file permissions in Ubuntu 10.04

I've a development desktop having Ubuntu 10.04, Apache2 & PHP 5.3.2 installed. I've given 0777 permissions to my web application root folder and Apache2 is also running under current username. But ...
0
votes
0answers
61 views

trying to understand libapache2-mod-auth-mysql

I'm trying to install mysql server, client and phpmyadmin. I was able to successfully install mysql server and the client.. on the phpmyadmin, from the video instruction i was trying to follow it says ...
0
votes
2answers
119 views

Problems with the /var/www folder

I am new to Ubuntu, I've installed 12.04. I used to use wamp server on Windows, and after changing OS I moved some files from www folder to /var/www on Ubuntu. But when I try to view that folder in a ...
-1
votes
1answer
121 views

How can I repair my PHP installation?

I try to test my php installation on a ubuntu server without gui. Therefore I follow the 3rd this howto for LAMP(!). This includes to install php5 et al. with sudo apt-get install php5 ...
1
vote
1answer
43 views

How to make PHP run on other folders?

I have a PHP project in /var/www/myproject I am wondering if I want to have my projects in /home/myusername/Projects/myproject and be able to run PHP on it, what should I do with Apache? What if I ...
0
votes
1answer
73 views

Problems with instalation of Zend-framework

When I type this command: apt-get install zend-framework I am getting this error: dpkg: error processing zend-framework (--configure): dependency problems - leaving unconfigured Errors were ...
1
vote
0answers
53 views

PHP session_start() does not stop loading page [closed]

I'm running Ubuntu and Apache2 . In a test.php script I've created, I use the session_start() function and the page does not seem to stop loading ( behaves as if it is running in an infinite loop ) . ...
0
votes
1answer
42 views

php and mysql issues

I've recently read Wallace Wang's “Beginning Programming for Dummies, 7 books in 1” and found it to be very enlightening, as it highlighted various differences between the three main operating systems ...
1
vote
2answers
127 views

Apache permission problem in ubuntu 12.04

i am new to ubuntu , i have install ubuntu 12.04 install in my system i have install localhost(lamp) in my system . i was trying to import a data base with more size so dor that i need to change the ...
11
votes
1answer
215 views

Strange POST requests to my Ubuntu server - am I in trouble?

I have an Ubuntu Server 12.04 installed on a VM. This server has apache2-mpm-prefork and libapache2-mod-php5 installed. I was looking through the logs and recently came across these rather ...
0
votes
0answers
24 views

i installed php5 in ubuntu 13.04 but when i restart apache sever using command “sudo /etc/init.d/apache2 restart” it was showing error [duplicate]

it is showing error, when i restarting apache sever. It was showing like below image. I am using internet with proxy (172.31.1.6) on ironport.
0
votes
1answer
37 views

How to create new files or modify existing files in a sym link?

I am new to the LAMP environment. I wanted to create files directly in my home directory instead of always copying it to /var/www. I created a sym link using the following command : ln -s /var/www ...
0
votes
1answer
80 views

Cannot load module after updating php to 5.5

after updating php and restarting the apache2 i get this error: Cannot load /usr/lib/apache2/modules/mod_R.so into server: /usr/lib/apache2/modules /mod_R.so: undefined symbol: ap_log_rerror This ...
0
votes
2answers
6k views

ERROR 1045(28000) : Access denied for user 'root@localhost' (using password: no )

I got a problem with mysql server Actually i am not sure im tring to install queXS cati app on my ubuntu desktop i installed mysql server and php5 and when im trying mysql -u root it says "ERROR ...
0
votes
0answers
55 views

cron job exetue, but receive error + 500 internal server error

I created a cron job on my apache server's cPanel, every 5 minute push the script, with this command: lynx -source http://mydomain.com/...c_html/xxxx.php and that script does not execute.. i receive ...
0
votes
2answers
85 views

Is it Good Practice to Change Apache's /var/www/ (Default Root Directory)?

When you install Apache, PHP's default folder is /var/www/ by default. Some developers find it necessary to change the root directory to something like: /home/public_html/ (many shared hosting ...
0
votes
0answers
103 views

Trouble Configuring Wordpress with PhpMyAdmin

So I'm trying to set up Wordpress to run through Phpmyadmin, in conjunction with LAMP. I'm running Ubuntu 12.10(if that matters), and I haven't found the answer to this question on this site yet..... ...
0
votes
1answer
221 views

Error in apache configuration

Initially my PHP was running well and after that when I installed perl CGI modules in order to run my CGI programs, there was problem. From the local host, I am not able to compile my PhP files nor ...
0
votes
1answer
272 views

Ubuntu 12.04, Php5-fpm, Apache2, Postfix: impossible to send a mail with PHP

Resources I followed I followed several howtos and questions on askubuntu: https://help.ubuntu.com/community/Postfix How to configure apache / php / postfix website emails when using vhosts? ...
0
votes
1answer
87 views

Timezone error in php.ini on lamp

I am trying to learn SOAP(Simple Object Access Protocol) following an example mentioned here downloaded the SOAP library , including the file lib/nusoap.php which gives a warning which is Warning: ...
2
votes
1answer
111 views

Wordpress alias problem

I have configuration like this: Alias /blog /usr/share/wordpress Alias /blog/wp-content /var/lib/wordpress/wp-content <Directory /usr/share/wordpress> Options FollowSymLinks ...
1
vote
1answer
115 views

Debugging PHP in Ubuntu (Xdebug)

PHP Vim Debugger: Configuring Apache I am trying to install Vdebug to debug PHP in Vim. Unfortunately, when I press F5 this message appears after a few seconds Waiting for a connection (Ctrl-C to ...
0
votes
1answer
51 views

Apache configure file: how to edit it

I need to edit the Apache configure file because I wish to set the debugger port in my VirtualHost section as it says below. How can I do it? I searched in Google but it is not clear for me what I ...
0
votes
0answers
102 views

Can't use PHP extension gettext in Ubuntu 13.10 (Apache2)

I have installed the module: $ dpkg -l | grep php-gettext ii php-gettext 1.0.11-1 all And i have created the related gettext.ini file in /etc/php5/mods-available/ whit: extension=gettext.so ...
0
votes
0answers
21 views

Can't install PHP5 because of “held broken packages” [duplicate]

I try to install PHP5 on my Ubuntu server. But I have the following problem: root@myserver /etc/apache2/mods-available # sudo apt-get install php5 Reading package lists... Done Building dependency ...
0
votes
1answer
211 views

Run X11 GUI application from browser (apache - php)

The same way as Running Gui App with PHP, I need to run a X11 application (VLC) from a php page on Apache server. I need to open the VLC application on the server, not on the remote system. I'm ...
2
votes
0answers
126 views

How do I save an uploaded file in PHP?

In PHP, I'm trying to save a file to the /var/www/upload directory, but whatever I try, it doesn't work. I've tried giving www-data ownership of /var/www and subdirectories. I've tried modifying the ...
0
votes
0answers
439 views

forbidden error when accessing localhost after updating php

I wanted to install php 5.5 on my machine and so I followed this tutorial: http://www.dev-metal.com/how-to-setup-latest-version-of-php-5-5-on-ubuntu-12-04-lts/ I executed the following commands: ...