0
votes
2answers
110 views

How to assign specific permission to user “nobody” of php in linux? [closed]

I want to make an online judge for c programs. I captured user input in a textarea and made .c file from it. Now it want php to run linux command `gcc code.c I did it as $cmd=gcc -std=c99 code.c -g ...
0
votes
1answer
213 views

Installing APC on ubuntu

So I've got my server running Ubuntu with lampp (xampp for linux) running. I want to implement a file upload progress bar, so I am trying to install APC. (Please do not suggest alternative plugins) I ...
2
votes
1answer
121 views

Trouble with mod_rewrite and PHP Extensions - Help Making the Correct .htaccess File

I'm looking for a set of simple rules and redirects for my site. I've tried so many combinations that I'm starting to get confused. I'm not sure how to set this up. Generally, without mod-rewrite, ...
-3
votes
2answers
893 views

Apache2 : Xampp is not running

I have apache2 and Xampp both installed in my server now my problem is When i stop apache2 from /etc/init.d/apache2 stop and tried restart xampp like /opt/lampp/lampp restart i am getting the ...
4
votes
1answer
449 views

PHP Apache XAMPP Run Multiple Scripts from CLI in Background

How can I simultaneously run dozens of PHP scripts in the background from XAMPP's command line interface? Someone suggested a batch file, but when I tried executing this: start php 1.php start php ...
0
votes
0answers
2k views

XAMPP(Apache) not serving [closed]

I am a PHP newbie and wanted to setup a local host, so I installed Apache and MySQL using XAMPP. The first time it didn't work, I googled my problem and the reason was that Skype was also using port ...
0
votes
1answer
394 views

Updating PHP on XAMPP

I use XAMPP on Ubuntu 11.04 and is there anyway that I am able to update the PHP from 5.0 to like 5.3.1? I have tried to get this infos on the Internet but I am not able to find the solution.
0
votes
1answer
7k views

PHP mail() returns true but mail cannot be delivered [closed]

I am trying to use php to deliver a simple mail. Before I am using WAMP server, however as it does not include a SMTP client/server, so I switch to XAMPP. By using XAMPP, the mail() function returns ...
10
votes
3answers
17k views

Connecting to MySQL from PHP is extremely slow

I just did a fresh install of XAMPP. When first opening PHPMyAdmin I noticed it was extremely slow. It didn't make sense that on localhost it should take almost 5 seconds for every page to open. I ...
0
votes
2answers
676 views

XAMPP/PHP on Windows [closed]

I am running XAMPP on Windows Vista. XAMPP is a ~one year old install with all default options. I wrote a script in PHP that will do a web crawl and place data in mysql. I placed ...
0
votes
1answer
620 views

No Error Log…XAMPP Virtual Host Config?

I'm running XAMPP on Windows 7. error_log("test") doesn't output to the my error_log specified in my vhost config (although the access log specified in the same config) does work. Any ideas? ...
0
votes
1answer
87 views

xampp plus apache php mysql separate installers

I am wondering, having my system currently installed with XAMPP, is it okay if I will install another Apache, PHP, mySQL (separate installers)?
0
votes
2answers
2k views

Need help to install php gd on ubuntu with lampp (xampp)

I'm running lampp 1.7.1 on lubuntu oneiric. I need to add extension for php_gd. I installed php5-gd by sudo apt-get install php5-gd Had a look at php.ini and noticed the line ...
0
votes
1answer
336 views

Setting up virtual host by editing apache httpd.conf (for Zend framework) opens XAMPP page, not Zend's

Setting up a virtual host apache (for Zend framework application) opens XAMPP homepage, but I need Zend default project home page instead. Am I doing something wrong? I made a virtual host as ...
0
votes
1answer
313 views

PHPmailer cant connect with remote SMTP server

I cant connect with remote SMTP server using PHPmailer. I checked in wireshark, that in time when script is trying to connect, no single packet is sent out from my pc. What can block it? SELinux is ...
1
vote
1answer
2k views

Apache wont start with php:ldap

I just installed XAMPP 1.7.7 on Windows Server 2003 r2 and enabled the php_ldap extension in php.ini Now, when starting the service, it hangs on 'starting' Aditional info: Since XAMPP 1.7.5+ is ...
2
votes
1answer
428 views

What is “php exited with error code 1”?

I'm running a php script through the webserver to execute psexec which in turns executes another php script. When I run this from the command line normally, everything works fine and there are no ...
2
votes
2answers
757 views

How can I run a php script from the CLI without prepending “php” to it? [closed]

I'm trying to create a script that runs from the webserver that will run a php file via exec(), but I want it to do so without prepending the php to it. Can this be done? Using Windows 2008 and XAMPP ...
0
votes
3answers
173 views

Problem with xampp on windows

I have a problem with xampp, when I try to start the Apache server it start and after few seconds it stop. I use both on my laptop, php and asp.net, so I have Visual Studio with IIS and xampp for the ...
0
votes
1answer
233 views

Which php binary should be used with a XAMPP installation?

When I execute which php in Bash I get /usr/bin/php. Everything is working fine but I'm wondering - since I'm running XAMPP, should I get /Applications/XAMPP/xamppfiles/bin instead? Note: I'm using ...
0
votes
2answers
558 views

How do I rename a mysql table in php?

I have tried all sorts of things to get a table renamed from php, including mysqli (code below) and mysql_connect/mysql_query. I have tried rename table and alter table. In the example below ...
0
votes
1answer
634 views

Xampp virtual hosts file messes up when an httpd redirect is put in place

Below is my httpd-vhosts.conf file for reference on my Windows 7 machine running xampp 1.7.4: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot C:/xampp/htdocs ...
0
votes
1answer
70 views

Windows XAMPP webserver not handling nested quotes

I'm having problems with third party HTML on a XAMPP based development webserver. The code produces garbage in the browser because it is filled with dubious nested quotes as follows... <a ...
1
vote
2answers
262 views

xampp/php - rsync ssh public passwordless [closed]

How can I rsync from php on my development (win/xampp) machine to my testing (Ubuntu) LAMP server using ssh public passwordless key? Thanks
1
vote
1answer
55 views

DocumentRoot - take without / infront

I'm not sure if I've posted the title correct as I'm not sure if there's a tehnical title for what I'm looking for - see below. On my localhost server I have a clone of my VPS files as I wish to sync ...
1
vote
2answers
181 views

Setup site folders on Apache and PHP

I'm trying to set up my first Apache server on my Windows PC at home and I have real trouble finding out which configuration settings go where. I downloaded and installed XAMPP which seemed to get ...
1
vote
2answers
2k views

What are the benefits of installing XAMPP vs [LAMP from repository] on Ubuntu Linux?

For dev purposes, is it better to install XAMPP or Apache MySQL & PHP from the repository?
0
votes
2answers
105 views

Apache server taking down network [closed]

Sorry everyone. I'm an amateur at this so my setup probably isn't what you'd call ideal, but I should be able to give enough info to move things along. At work, we are on a Comcast connection and ...
0
votes
1answer
233 views

Apache 2.0.55/PHP 5.3.5 Hangs

Recently inherited a Windows 2k3 server running XAMPP, including ancient copies of PHP, MySQL and Apache. I'm attempting to install a second, up-to-date PHP installation on the machine so I can ...
0
votes
1answer
194 views

localhost working fine with executing php code except mail function [closed]

i tried executing the mail() and got the following error "Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini ...
0
votes
2answers
996 views

running xampp + iis (classic asp) on the same local machine

i've been using classic asp so far (using iis) and i want to start with php (xampp). is it possible to run both (local) servers at the same time? i think the problem is that both are pointing to ...
0
votes
2answers
256 views

Secure Ubuntu Desktop for Php Developer

I just did a fresh install of Ubuntu Desktop 10.4. I would like to keep the system completely secure so that it's not vulnerable to any sorts of hacks, attacks, viruses, malware etc. All i want to ...
0
votes
1answer
1k views

PHP doesn't work in XAMPP

Beginner's question, so please bear with me. I installed XAMPP under Windows XP, and PHP seems to work: when I click "phpinfo()" in http://localhost/xampp/ the complete list of settings is shown. ...
1
vote
1answer
52 views

2 PHP Installations - how to configure?

I have a windows server 2003 with ISS 7.0. There runs 2 sites with simple php, which I have installed easily. (C:/Program Files/PHP) Now I install XAMPP for MYSQL and XAMPP installed a second ...
1
vote
1answer
820 views

How do I point PHP to OpenSSL directory within script?

I have a PHP script which needs to point to my server openssl directory but am lost. I know the directory resides at /usr/bin/openssl while my site pages rest at ...
2
votes
1answer
845 views

Using separate php.ini files per vhost in Xampp

My web host provides separate php.ini files per web root, which is quite useful as I host some websites which require different PHP settings. But on my dev system where I use Xampp, I can only find a ...
1
vote
1answer
671 views

Sendmail not working from local PHP when headers not specified

I'm having trouble getting my local XAMPP server to send emails via my remote SMTP server. In PHP, if I put: $headers = "From: dan@fromdomain.com\r\n"; mail('dan@todomain.com', 'test', '', ...
1
vote
1answer
1k views

can I install multiple versions of php and mysql on xampp

I am using xampp on windows xp. Recently I felt in need of having more than one version of PHP and mysql. Is it possible.?
0
votes
5answers
6k views

how to change port number of Apache server in windows OS

I have installed xampp control panel and Apache 2.2 on windows XP when I type http://localhost/ gives me page which says It Works! Now, I want to change the port number 80 to some other number How ...
3
votes
3answers
10k views

Apache won't start, MySql and FileZilla does

I am using Windows7 and XAMPP 1.7.3(it's 32bit but says it works on 64). When I click on start Apache nothing happens but beneath it is written: "Busy.... Apache Service started" But the green ...
1
vote
1answer
2k views

How can I upgrade PHP on Windows 7?

I am currently running Xampp for a dev server on Windows 7. It has Apache, PHP,MySQL and some other stuff all in one simple exe package for windows and works great. My version currently has PHP ...
0
votes
2answers
2k views

problem with enableing apache mod rewrite on xampp

I'm trying to enable the mod rewrite on apache for xampp, I've uncommented the code LoadModule rewrite_module modules/mod_rewrite.so also I have the AllowOverride All as well but it's still not ...
0
votes
2answers
2k views

Configuring LAMP Environment in Linux Mint 8 using XAMPP- installing Memcache

Okies, I have successfully installed the XAMPP and added virtual hosts and am able to make database calls and stuff. The problem I am facing is while trying to enable the memcache module. Currently ...
0
votes
1answer
795 views

How to use RewriteRule within .htaccess on xampplite?

I am using .htaccess file to enable url rewrite. Options +FollowSymlinks RewriteEngine on DirectorySlash off Options -Indexes RewriteRule ^(.*)$ index\.php [NC] It works as it should on the ...
1
vote
2answers
105 views

Default all php generated and apache served pages not to cache

I have a small Xampp server that I use for coding and prototyping of php sites. Every time I refresh a page I typically have made adjustments to the code of the page in the last few seconds. There ...