Fedora Servers :: LAMP Configuration - Strange PHP INI File

Nov 22, 2009

My installation went fine. Apache, PHP, and MYSQL all work independently. My trouble getting PHP to serve MySQL content. The first thing I did was look in the PHP.INI file to check that it was set up correctly. Then I discovered my install of PHP does not have the expected directives, namely extension_dir or any DLL comments where I can enable MYSQL. Instead my config file has a PHP.D directory. In that directory there are no files for MYSQL. I look at the PHP.net site and I can't find any info on how to write this file. And there's the issue of the missing extension_dir directive.

As I said, I visited the PHP.net site and could not find any specific manual pages explaining this change to PHP 5.2.11. I downloaded "the latest php.ini" development file from the site. As near as I can tell its for PHP 6.0.0 and it does have the extension_dir directive, and it still uses the DLLs in Dynamic Extensions section. (EDITED= The introduction of the PHP.INI file doesn't give a version number, however later under error handling there is a note: "as of PHP 6.0.0"). Why I can't find more information about this on any forum or at PHP.net?

View 14 Replies


ADVERTISEMENT

Ubuntu Servers :: PhpMyAdmin On 10.04: Strange Configuration?

Jan 26, 2011

My situation I recently installed Ubuntu 10.04 LTS Server on a virtual machine. I installed apache2, php and mysql-server. Several vhosts I sat up are running fine and I can also connect to the MySQL server using the mysql command-line client. I now want to setup PhpMyAdmin to allow the vhosts owners to administrate their DBs. I installed the package using:

Code:
apt-get install phpmyadmin I answered the questions and accepted the creation of the phpmyadmin database. The install finished successfully. I did a small modification to the main website vhost to access it easily:
Code:
Alias /phpmyadmin /usr/share/phpmyadmin

[Code]...

View 1 Replies View Related

Ubuntu Servers :: PHP5 LAMP Configuration Break?

Mar 4, 2011

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?

View 3 Replies View Related

Fedora Servers :: Use Yum To Install LAMP With Ssl?

Sep 2, 2011

I want to use yum to install LAMP with ssl. Is there a certain order I have to do that in? If I understand this right, yum gets its rpms from one repository. In order to maintain the rpms I will need to know the installation layout of each rpm. How will I find this information?

Also, can I tell yum to go to a certain place and get that rpm? For instance, I've been reading linux topia. Can I tell yum to get that mysql rpm?

Once mysql is installed, how do I start it and get into the client/monitor?

View 3 Replies View Related

Fedora Servers :: LAMP Installed But Can't $conn To Mysql

Nov 2, 2010

it seems i have successfully installed LAMP.. i have a very basic page below that works when invoking "data()" but when i try to connect to mysql server (by removing the comments "//") it would just return a blank page.

[Code]...

View 1 Replies View Related

Fedora Servers :: LAMP Package Installation Fails / What To Do?

Mar 7, 2011

I have a desktop running on Fedora 14. I installed LAMP by using scripts for package installation. That works fine. Also, I have a virtual environment (Virtual Machine Manager), in which I installed Fedora 14 as well. I tried to install LAMP by the same scripts and the same packages as on my desktop, but strangely - it does not work.

I figured out that in both cases two instances of httpd.conf are installed, one residing in /etc/httpd/conf/, the other one in /usr/local/apache2/conf. The first one seems to belong to the server that is by default installed together with Fedora 14. The second one is the result from the package installation.

For a reason unknown to me, the second one (/etc/httpd/conf/httpd.conf) is always activated on my desktop, while the first one (/usr/local/apache2/conf/httpd.conf) is activated by default in my virtual computer. I have been able to change the DocumentRoot with succes.

I know how to install LAMP with yum, I have a second virtual computer with LAMP installed by yum, and the whole question is not an urgent one, but... I am just curious... what could have caused the difference? And what would I have to do whenever I would like to use the package installation or vice versa?

View 4 Replies View Related

Fedora Servers :: Anything Special To LAMP Server For AJAX To Work?

Apr 14, 2011

Do I need to do anything special to my LAMP server for AJAX to work?

View 2 Replies View Related

Ubuntu Servers :: Strange File Names - Getting Larger And Larger All The Time

May 3, 2011

Using Samba I have looked into the file that stores all my web sites, there were a few strange files that get larger and larger all the time. File names are _Za01716 and _Za01820, they are nearly 50mb in size now. I know these are not Log files so what are they and can I delete them?

View 1 Replies View Related

Debian Configuration :: LAMP Server And Permissions To Www/

Jul 30, 2011

I just installed LAMP server and it works. Anyway, I have problems with permissions to www/. I can't access it! Its located in /srv/www.

What do you suggest? I need to be able to freely add/modify/remove files under www/ as 'dagrevis' (not 'root').

View 1 Replies View Related

Debian Configuration :: CUPS PDF - Strange Characters In Text

Apr 18, 2016

I can't find the reason cups pdf driver do this. I created my default printer as is told:

CUPS PDF--> Generic Printer--> Generic CUPS-PDF Printer

The pdf created shows well, but when i drag to select and copy text, it copies some strange characters as following:

✁✂✂✄
☎✆✝✞✟✟✝✆✠✡☛ ☞✌☛✍✡✎ ✏ ☛✄✑✄ ✎✞✟✄✂✒✞✓ ✔✁✓✁ ✕✖✞✑✗✓✞ ✍✁✂✂✄
☎✆✝✞✟✟✝✆✜✁ ✢✖✟✝✖✛✁ ✘✞✂ ✘✖✣✞✓✄ ✏ ✤✁✛✥ ✜✁✦✟✄✣☎✘✄✛
✁✂✂✄
☎✆✝✞✟✟✝✆✕✞✛✓✞✝✄✟ ✘✞ ✙✣✁ ✑✞✣✝✞ ✖✣✝✞✂✖✧✞✣✝✞★ ✍✞✛✣✖✛✁✂✂✄

View 3 Replies View Related

General :: Installation Steps For LAMP Configuration Under Gentoo

Jul 10, 2010

All of the guides I could find online were from 2004 and they no longer work. someone create a step by step guide? I have Apache working, but PHP does not work.

View 1 Replies View Related

Ubuntu Networking :: Access To Shared Folder In A Strange Configuration?

Dec 12, 2010

I've a question about a connection to a shared folder on a pc behind an ubuntu 10.04 server. The Ubuntu machine itself is behind a Cisco router. Cisco router has a nat 1-to-1 to Ubuntu machine with the static public ip x.y.x.z The Ubuntu machine has one only interfaces eth0 bridged with a virtual tap0 in the virtual br0 interface. This because on the Ubuntu machine is running OpenVPN in bridged mode. I want to reach a private share on the host 192.168.100.2 using the x.y.w.z static IP. Is that possibile? Ubuntu machine has no firewall running (I was not able to run shorewall firewall for now).

View 1 Replies View Related

Ubuntu Servers :: How To Use A LAMP Server

Feb 6, 2010

I've successfully installed my LAMP server (9.10). I've ran a test.php but am curious if there are any tutorials onlines or even books to buy in order o learn how it all works. Where the files are and the mechanics of it. I have it installed but what now ha... I've done HTML, I've built websites but I'm lost!...

View 1 Replies View Related

Ubuntu Servers :: Uninstall Lamp From 10.04 OS?

Jul 15, 2010

I need to uninstall Lamp from my Ubuntu 10.04 OS. I just need to commands etc as I am rather noob at Ubuntu. I will be installing it again I just have come across several problems.

View 2 Replies View Related

Ubuntu Servers :: Can't Set Hostname On LAMP 10.4

Dec 22, 2010

I've looked at several tutorials and since i'm a newb I can't figure them out. I'm trying to set my hostname on my LAMP 10.04. What files do I need to configure? (all IP's below are fake)

Here are the first lines from /etc/apache2/sites-available/default

Code:
<VirtualHost 111.111.111.111:80>
ServerAdmin webmaster@localhost
/etc/apache2/ports.conf has these lines after the comments

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Use Email On 11.04 Lamp?

May 24, 2011

I'm using ubuntu server 11.04 in a LAMP configuration. I have my login page setup but my php email verification isnt working. I would like to know how can I install a relay that can take the email verifications and send them through a gmail account.

View 2 Replies View Related

Ubuntu Servers :: LAMP - How To Manage Permissions

Jan 13, 2010

I have a LAMP server running Ubuntu 8.04.03 Server edition running smoothly. Ive setup several websites on the server and all are ok, but I constantly have trouble with permissions. Everytime I setup a new domain to host, I setup a user specific to that domain. This allows SSH login specific to the domain. The problem I have is that every time I setup ownership in the virtual directories for the users they belong to, the settings don't seem to stay. Initially it seems to work ok, but when I install Joomla and setup the webspace, I always seem to have to login to the server itself to chmod the folders I need to have writable. I cant chmod properly from my FTP client which is weird. How to manage permissions?

Currently I am doing the following:
Code:
sudo mkdir -p {name of domain}/{public,private, etc...}
sudo usermod -g www-data {my user name}
sudo chown -R www-data:www-data /var/www/{directory for the domain}
sudo chmod -R 775 {folder path I need to change}

This works for a while but as I add new things to Joomla and I want to modify the folders, I always have to go back and redo the chmod and the chown commands to get them where I want.

View 4 Replies View Related

Ubuntu Servers :: Installing Mod_python With LAMP?

May 4, 2010

End of my first week after using ubuntu. I have setup LAMP for the purposes of my own coding education, place to run php and python scripts.

LAMP seems to be setup fine and working - I even got php5 working with it - however I am having a lot more trouble getting python to work in much the same manner.

I have downloaded the mod_python from [URL], unzipped it, tried to run ./configure and it said apxs was not installed.

After some reading it turns out I had to remove some apache-fork something and install apache-devfork (please forgive lack of exact names).

After doing this the ./configure on mod_python passed the "finding apxs" test but then said it can't find apache2 at /sbin/apache2 and again aborted the configure.

running 10.4 (lucid)

View 1 Replies View Related

Ubuntu Servers :: PHP Not Working In *.html In LAMP

Jul 23, 2010

PHP in *.php files works in LAMP. PHP script within an *.html file is not executed. Does not display anything but view->source_code shows the <?php ... ?>

[Code]...

Doesn't display anything except the page title is there. View page source --- shows <?php phpinfo() ?> not the phpinfo() output. Both files are in /var/www/ with 644 permissions.

[Code]...

View 9 Replies View Related

Ubuntu Servers :: Uninstalling Apache2 From Lamp?

Aug 25, 2010

Basically I've made a right **** up of my apache2 configuration and I just want to un-install apache2 and re-install so I can start again.

I've done research on this but the guides have always been for people installing using "apt-get" or "rpm" packages. I've tried these methods but nothing has worked.

The way I installed lamp was from selecting it in the different options when installing ubuntu-server from disk.

Is there any way I can do this through the terminal and not through synaptic, only reason being is that I'm ssh'ing across a local network.

View 2 Replies View Related

Ubuntu Servers :: LAMP Display Php Errors ?

Oct 11, 2010

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?

View 9 Replies View Related

Ubuntu Servers :: PHP Is Not Co-operating On LAMP Server?

Jan 25, 2011

I had a working LAMP server on my old server. After a HD went out and was replaced I rebuilt my server with Ubuntu 10.10 server. Talk about a smooth and impressive install. I set up my Apache server and MySQL and even installed php5 just like I had done before on my old server. The only thing different I did with this install is with Apache. I now host 3 websites with virtual hosts. This is the only thing different I have done than the last time.

My problem now is my website won't display PHP. I didn't know I had this problem until I installed Drupal for a friend to play around with. Drupal won't finish the installation process because it claims: In your ./sites/default/settings.php file you have configured Drupal to use a server, however your PHP installation currently does not support this database type.

Know I have googled this phrase to hell and back to find a resolution and haven't. I even talked to my local linux guru at work and he refereed me here. I have tried reinstalling php left and right. I'm convinced that there is an option to enable php globally that I'm missing. I really think the virtual hosts is what is causing this trouble. What input will the mighty Ubuntu community provide me with,

View 4 Replies View Related

Ubuntu Servers :: Install Lamp-server On 10.10?

May 18, 2011

Ran the following command from a user account listed with ALL permissions in visudo.

Code:
sudo tasksel install lamp-server
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
tasksel: aptitude failed (100)

View 2 Replies View Related

Ubuntu Servers :: Transfer LAMP Data To A New Install?

Jul 15, 2010

Is there an easy way to transfer Webserver data from one ubuntu install to a new one? I know I'll need to get the stuff in /var/www and (somehow) the Mysql data, but are there files elsewhere to get? Or is there a better way than trying to copy all the various files?

View 2 Replies View Related

Ubuntu Servers :: Build LAMP Server Behind A Router?

Dec 9, 2010

I build a LAMP server behind a router. The current situation is:

1.I could access index.html of apache within the LAN.
2.I could access the vsftp outside of the LAN.
3.I could access the ssh outside of the LAN.

I have configured my router to do reflections(although I don't know it's correct or not.). I think the LAMP works good since I could use it inside the LAN. The configuration of the router is at least partly right because ssh and vsftp work fine(I test by browsing the ip:74.***.***.*** in the lan, not 192.168.1.8 --this also works. ).

I cannot access web service outside the LAN. And the error message is "Oops! Google Chrome could not connect to 74. Did I miss some configuration of router?Apache2?Ubuntu? I use the ubuntu server 2010.10 version.

View 3 Replies View Related

Ubuntu Servers :: Enabling CGI In All /var/www Subdirectories (Apache - LAMP)

Jan 5, 2011

I am trying to set up my local development environment to mimic the behaviour of my webhost: namely executing *.cgi files as CGI scripts, regardless of their location. If I'm not mistaken, the default setup of Apache on Ubuntu has this set up for /usr/lib/cgi-bin only.

I have tried adding +ExecCGI to the /var/www directory settings in /etc/apache2/sites-enabled/000-default. I have also tried AddHandler cgi-script .cgi in the same <directory> block.

View 3 Replies View Related

Ubuntu Servers :: Will The Lamp Server Be Able To Use The Ntfs Partitions

Mar 11, 2011

I am wanting to install the 10.04 lamp server on a winxp pro machine with several hard drives all with ntfs. Will the lamp server be able to use the ntfs partitions ? Or do i need to change them over.There is several hundred gigs of data on the hard drives and i do not relish the job of converting them.Also can you just mount the ntfs shares that are on the windows machine with the ubuntu machine using a intranet type setup

View 3 Replies View Related

Ubuntu Servers :: Simple Apache2 Configuration File Package Could Get?

Apr 2, 2011

Anyone have a simple apache2 configuration file package I could get?I'm trying to serve a internal network site for files throughout my network, (music, video, etc). I remember when I did this with Redhat 5-6 and all I had to do was redirect the folder I wanted to share over apache and it worked. You could click on the file you wanted and it played, etc.For some reason I can't even get apache2 that ships with Ubuntu 10.04.02 to even have a "It worked!" internal site or anything. I haven't configured apache2 ever before. It seems to have grown from one or two configuration files to five or so!

View 7 Replies View Related

Ubuntu Servers :: Cannot Access Files / Folders In Www Directory / LAMP

Jan 21, 2010

Just installed lamp, I can access phpmyadmin mysql is set up and everything. When I try to view a directory [URL] I get an access denied error.

EDIT: I changed the permissions of the "folder" folder itself, I can access everything in that directory now but not any other folders in it. Do I really need to go through every folder every time and change the permissions?

View 4 Replies View Related

Ubuntu Servers :: Uninstall Sudo Apt-get Install Lamp-server^?

Jan 24, 2010

I've been searching around the net how to do this but I can't find any clues. I did this:

Code:
sudo apt-get install lamp-server^
But now I want to remove it. I've read this: http://ubuntuforums.org/showthread.php?t=510403

[code]....

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved